# Don't cause the server to break if Passenger module not loaded
<IfModule passenger_module>
	<VirtualHost *:80>
	  DocumentRoot "<%= passenger_document_root %>"
	  CustomLog <%= apache_log_dir %>/<%= application %>-access.log combined
	  ErrorLog <%= apache_log_dir %>/<%= application %>-error.log

    AddOutputFilterByType DEFLATE application/xml application/x-flex+xml
	  
	  RailsEnv <%= rails_env %>
	  RailsAllowModRewrite <%= passenger_rails_allow_mod_rewrite %>

	  <Directory "<%= passenger_document_root %>">
	    Order allow,deny
	    Allow from all
	  </Directory>
	</VirtualHost>
</IfModule>


